package com.deram.ctin.serv.search.entity.solr.bean;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Id;
import org.springframework.data.solr.core.mapping.Indexed;
import org.springframework.data.solr.core.mapping.SolrDocument;

import java.util.Date;

@ApiModel(description = "自然人搜索对象")
@SolrDocument(solrCoreName = "mytest")
public class SolrNatureEnterInfo {

    @ApiModelProperty(value = "ID")
    @Id
    @Indexed
    private  Long id;

    @ApiModelProperty(value = "自然人姓名")
    @Indexed
    private String name;

    @ApiModelProperty(value = "角色类型")
    @Indexed
    private Integer roleType;

    @ApiModelProperty(value = "角色名称")
    @Indexed
    private Integer roleName;

    @Indexed
    private String enterName;

    @Indexed
    private Long enterId;

    @Indexed
    private String address;

    @Indexed
    private Date openningTime;

    @Indexed
    private String registeredCapital;

    @Indexed
    private String managementStatusName;

    @Indexed
    private Integer managementStatus;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getRoleType() {
        return roleType;
    }

    public void setRoleType(Integer roleType) {
        this.roleType = roleType;
    }

    public Integer getRoleName() {
        return roleName;
    }

    public void setRoleName(Integer roleName) {
        this.roleName = roleName;
    }

    public String getEnterName() {
        return enterName;
    }

    public void setEnterName(String enterName) {
        this.enterName = enterName;
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getOpenningTime() {
        return openningTime;
    }

    public void setOpenningTime(Date openningTime) {
        this.openningTime = openningTime;
    }

    public String getRegisteredCapital() {
        return registeredCapital;
    }

    public void setRegisteredCapital(String registeredCapital) {
        this.registeredCapital = registeredCapital;
    }

    public String getManagementStatusName() {
        return managementStatusName;
    }

    public void setManagementStatusName(String managementStatusName) {
        this.managementStatusName = managementStatusName;
    }

    public Integer getManagementStatus() {
        return managementStatus;
    }

    public void setManagementStatus(Integer managementStatus) {
        this.managementStatus = managementStatus;
    }
}

